<table class="table">
    <thead>
    <tr>
        <th>用户名</th>
        <th>姓名</th>
        <th>公司</th>
        <th>用户类别</th>
        <th>级别</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    %for data in i.recs:
    <tr>
        <td>${data.username} ${data.userstatus}</td>
        <td>${data.truename}</td>
        <td>${data.incname}</td>
        <td>${data.usertype}</td>
        <td>${data.userpower}</td>
        <td>
            <a href="javascript:;" onclick="setpower(${data.id})">分配权限</a>　｜　
            <a href="#" onclick="doedit(${data.id})">编辑</a> ｜
            <a href="#" onclick="restorepwd(${data.id})">恢复密码</a> |
            %if data.userstatus==1:
            <a href="#" onclick="dostop(${data.id})">停用</a> |
            %else:
            <a href="#" onclick="dostart(${data.id})">启用</a> |
            %endif
            <a href="#" onclick="export1(${data.id})">导出权限明细</a> |
            <a href="#" onclick="dodel(${data.id})">删除</a></td>
    </tr>
    %endfor
    </tbody>
</table>
<script type="text/javascript" src="/static/skins_/js/settings.js"></script>